package app.sevenc.lib_framework.imageloader

import android.widget.ImageView

/**
 * 图片加载代理接口类
 *
 * @author Seven-C
 * @date 2021/8/7
 */
interface IImageLoader {

    /**
     * 加载图片
     *
     * @param view ImageView
     * @param imageUrl String
     * @param scaleType ScaleType
     * @param isCircle Boolean
     * @param roundingRadiusPx Int
     * @param topLeft Float
     * @param topRight Float
     * @param bottomRight Float
     * @param bottomLeft Float
     */
    fun loadImage(
        view: ImageView,
        imageUrl: String,
        scaleType: ScaleType,
        isCircle:Boolean,
        roundingRadiusPx: Int,
        topLeft: Float,
        topRight: Float,
        bottomRight: Float,
        bottomLeft: Float
    )
}